<%@ page contentType="text/html;charset=UTF-8" %>
<script src="${ctxStatic}/crypto-js-4.1.1/crypto-js.js"></script>
<script src="${ctxStatic}/crypto-js-4.1.1/aes.js"></script>
<script src="${ctxStatic}/crypto-js-4.1.1/pad-pkcs7.js"></script>
<script>
    function encrypt(data){
        return CryptoJS.AES.encrypt(data, CryptoJS.enc.Latin1.parse("039006f21d814e04"), {iv: CryptoJS.enc.Latin1.parse("039006f21d814e04"),mode:CryptoJS.mode.CBC, padding: CryptoJS.pad.Pkcs7}).toString();
    }
</script>